C# |
---|
public String AddLine(String text = null) |
C# |
---|
// Defaults: IndentCharCount = 2, LineLimit = 80, WrapEnabled = false. var tb = new TextBuilder(); // Example Method: // Adds text that ends with a newline. tb.AddLine("This is an appended line."); tb.AddText(":"); var result = tb.ToString(); // result: // This is an appended line. // : |